Specifying a Working Environment Configuration Directory

The

$SNIFF_DIR/workingenvs directory is the default Working Environment Configuration Directory. There are three reasons for not using this directory:

- Normally, not everyone in your development team may have write permission for the

$SNIFF_DIR/workingenvs directory.
- To make it easier to manage working environments and the projects that you open in them, we recommend that you store the Working Environment Configuration Directory directory under the same root directory as the corresponding working environments.
- You may want to keep your SNiFF+ installation in its original state without ever modifying it.
Using the default Working Environment Configuration Directory
In order for your team members to work with shared projects in working environments, read and write permissions must be properly set for a number of files and directories maintained by SNiFF+.

Make sure that all members have read and write permissions for the following files and directories:

$SNIFF_DIR/workingenvs/
$SNIFF_DIR/workingenvs/.WEProjectCache/
$SNIFF_DIR/workingenvs/WorkingEnvData.sniff
Make sure that only the Working Environments Administrator has write permissions for the following files:

$SNIFF_DIR/workingenvs/WorkingEnvUser.sniff
$SNIFF_DIR/SitePrefs.sniff
Using a different Working Environment Configuration Directory
To specify the Working Environment Configuration Directory:
In the Shell or Command Prompt

Create a directory called e.g.

workingenvs . From now on, we will refer to the full path to this directory as:
<workingenvs>
Start SNiFF+.
The Launch Pad appears.
In SNiFF+

Open your Preferences by choosing Tools > Preferences... in any open tool.
Under the Tools node, select Working Environments.
In the Working Environment Config. Directory field, enter the path to the

workingenvs directory you just created. Press Ok to save and apply the changes.
SNiFF+ will now create a number of files in <workingenvs>. These files will hold your working environment information.
In the Shell or Command Prompt
In order for your team members to work with projects in working environments, read and write permissions must be properly set for the files in the Working Environment Configuration Directory.

Make sure that all members have read and write permissions for the following files and directories:

- <workingenvs>
- workingenvs>

/.WEProjectCache/
- workingenvs>
/WorkingEnvData.sniff
Make sure that only the Working Environments Administrator has write permissions for the following files:

- workingenvs>

/WorkingEnvUser.sniff
$SNIFF_DIR/SitePrefs.sniff